package ma.xin.shi.configurations.CM;

public class CMConfig {
    private boolean enableTcp;
    private boolean enableUdp;
    private int tcpPort;
    private int udpPort;
    private String networkInterface;
    private String logLevel;

    // Getter and Setter 方法

    public boolean isEnableTcp() { return enableTcp; }
    public void setEnableTcp(boolean enableTcp) { this.enableTcp = enableTcp; }

    public boolean isEnableUdp() { return enableUdp; }
    public void setEnableUdp(boolean enableUdp) { this.enableUdp = enableUdp; }

    public int getTcpPort() { return tcpPort; }
    public void setTcpPort(int tcpPort) { this.tcpPort = tcpPort; }

    public int getUdpPort() { return udpPort; }
    public void setUdpPort(int udpPort) { this.udpPort = udpPort; }

    public String getNetworkInterface() { return networkInterface; }
    public void setNetworkInterface(String networkInterface) { this.networkInterface = networkInterface; }

    public String getLogLevel() { return logLevel; }
    public void setLogLevel(String logLevel) { this.logLevel = logLevel; }
}
